package model;
import model.base.BaseDaliyRecords;

@SuppressWarnings("serial")
public class DaliyRecords extends BaseDaliyRecords<DaliyRecords> {
    public static final DaliyRecords dao = new DaliyRecords().dao();

	public DaliyRecords findFirstByStationId(Long stationId){
        return this.findFirst(" SELECT tdr.id , tdr.remark , tdr.isNormal FROM t_daliy_records tdr WHERE tdr.stationId = ?  ORDER BY tdr.createTime DESC LIMIT 1 " , stationId);
    }
	
}
